package logistic

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaEleFengniaoTradeUpdateAPIResponse 更新蜂鸟扣费状态 API返回值
// alibaba.ele.fengniao.trade.update
//
// 汇金扣费成功后，回调该接口更新扣费状态
type AlibabaEleFengniaoTradeUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoTradeUpdateAPIResponseModel
}

// AlibabaEleFengniaoTradeUpdateAPIResponseModel is 更新蜂鸟扣费状态 成功返回结果
type AlibabaEleFengniaoTradeUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_trade_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 无此交易记录
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 1:成功 0：失败
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}
